from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('profile.views',
    # Example:
    # (r'^dishpop/', include('dishpop.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    (r'^user/(?P<user_name>\w+)/$', 'profile'),
	(r'^user/(?P<user_name>\w+)/profilepic$', 'upload_photo'),
    (r'^user/(?P<user_name>\w+)/edit$', 'edit_profile'),
	(r'^user/(?P<user_name>\w+)/profilepic/(?P<profileimg_id>\d+)/c$', 'change_photo'),
	(r'^user/(?P<user_name>\w+)/profilepic/(?P<profileimg_id>\d+)/d$', 'delete_photo'),
)